#!/bin/bash
# yum repoinfo
mkdir /mlin/double
mv /etc/yum.repos.d/*  /mlin/double/
touch /etc/yum.repos.d/yumdvd.repo
echo '[app]
baseurl=file:///dvd/AppStream
gpgcheck=0
[base]
baseurl=file:///dvd/BaseOS
gpgcheck=0
[myrpm]
baseurl=file:///dvd/rpms
gpgcheck=0' > /etc/yum.repos.d/yumdvd.repo